package com.scut.edu.wanyou.net;

import java.util.ArrayList;
import java.util.List;

import org.apache.http.message.BasicNameValuePair;


public class WYParams {
	
	private String action = "";
	
	private List<BasicNameValuePair> params = new ArrayList<BasicNameValuePair>();
	
	public WYParams(){};
	
	public WYParams(String action)
	{
		this.action = action;
	};
	
	public String getAction()
	{
		return this.action;
	}
	
	public void setAction(String action)
	{
		this.action = action;
	}
	
	public void add(String key,String value)
	{
		params.add(new BasicNameValuePair(key, value));
	}
	
	public List<BasicNameValuePair> getNameValuePairs()
	{
		return params;
	}

}
